
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-weixin"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq"></i>
                    <div class="name">QQ</div>
                    <div class="fontclass">.icon-qq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-unie61d"></i>
                    <div class="name">微博</div>
                    <div class="fontclass">.icon-unie61d</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhifuicon"></i>
                    <div class="name">支付icon</div>
                    <div class="fontclass">.icon-zhifuicon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tengxunweibo"></i>
                    <div class="name">腾讯微博</div>
                    <div class="fontclass">.icon-tengxunweibo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiansheyinxing"></i>
                    <div class="name">建设银行</div>
                    <div class="fontclass">.icon-jiansheyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiangsuyinxing"></i>
                    <div class="name">江苏银行</div>
                    <div class="fontclass">.icon-jiangsuyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nanjingyinxing"></i>
                    <div class="name">南京银行</div>
                    <div class="fontclass">.icon-nanjingyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixinzhifu"></i>
                    <div class="name">微信支付</div>
                    <div class="fontclass">.icon-weixinzhifu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guangfayinxing"></i>
                    <div class="name">广发银行</div>
                    <div class="fontclass">.icon-guangfayinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhifubao"></i>
                    <div class="name">支付宝</div>
                    <div class="fontclass">.icon-zhifubao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjinyinxing"></i>
                    <div class="name">天津银行</div>
                    <div class="fontclass">.icon-tianjinyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hebeiyinxing"></i>
                    <div class="name">河北银行</div>
                    <div class="fontclass">.icon-hebeiyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zejuyinxing"></i>
                    <div class="name">zeju-银行</div>
                    <div class="fontclass">.icon-zejuyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-minshengyinxing"></i>
                    <div class="name">民生银行</div>
                    <div class="fontclass">.icon-minshengyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huarunyinxing"></i>
                    <div class="name">华润银行</div>
                    <div class="fontclass">.icon-huarunyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jingdong01"></i>
                    <div class="name">京东</div>
                    <div class="fontclass">.icon-jingdong01</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dongyayinxing"></i>
                    <div class="name">东亚银行</div>
                    <div class="fontclass">.icon-dongyayinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gongshangyinxing"></i>
                    <div class="name">工商银行</div>
                    <div class="fontclass">.icon-gongshangyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiansheyinxing1"></i>
                    <div class="name">建设银行</div>
                    <div class="fontclass">.icon-jiansheyinxing1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pufayinxing1"></i>
                    <div class="name">浦发银行</div>
                    <div class="fontclass">.icon-pufayinxing1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youzhengyinxing"></i>
                    <div class="name">邮政银行</div>
                    <div class="fontclass">.icon-youzhengyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-beijingyinxing"></i>
                    <div class="name">北京银行</div>
                    <div class="fontclass">.icon-beijingyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guangdayinxing"></i>
                    <div class="name">光大银行</div>
                    <div class="fontclass">.icon-guangdayinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nanjingyinxing1"></i>
                    <div class="name">南京银行</div>
                    <div class="fontclass">.icon-nanjingyinxing1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhaoshangyinxing"></i>
                    <div class="name">招商银行</div>
                    <div class="fontclass">.icon-zhaoshangyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-suningyigou"></i>
                    <div class="name">苏宁易购</div>
                    <div class="fontclass">.icon-suningyigou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jinchengyinxing"></i>
                    <div class="name">晋城银行</div>
                    <div class="fontclass">.icon-jinchengyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hankouyinxing"></i>
                    <div class="name">汉口银行</div>
                    <div class="fontclass">.icon-hankouyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhongxinyinxing"></i>
                    <div class="name">中信银行</div>
                    <div class="fontclass">.icon-zhongxinyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-minshengyinxing1"></i>
                    <div class="name">民生银行</div>
                    <div class="fontclass">.icon-minshengyinxing1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaotongyinxing"></i>
                    <div class="name">交通银行</div>
                    <div class="fontclass">.icon-jiaotongyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nongyeyinxing"></i>
                    <div class="name">农业银行</div>
                    <div class="fontclass">.icon-nongyeyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-comiiszhifubao"></i>
                    <div class="name">支付宝</div>
                    <div class="fontclass">.icon-comiiszhifubao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianmaotmall"></i>
                    <div class="name">天猫 tmall</div>
                    <div class="fontclass">.icon-tianmaotmall</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pufayinxing"></i>
                    <div class="name">浦发银行</div>
                    <div class="fontclass">.icon-pufayinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huifengyinxing"></i>
                    <div class="name">汇丰银行</div>
                    <div class="fontclass">.icon-huifengyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huaxingyinxing"></i>
                    <div class="name">华兴银行</div>
                    <div class="fontclass">.icon-huaxingyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dangdangwang"></i>
                    <div class="name">当当网</div>
                    <div class="fontclass">.icon-dangdangwang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhongguoyinhangbank1193437easyiconnet"></i>
                    <div class="name">中国银行</div>
                    <div class="fontclass">.icon-zhongguoyinhangbank1193437easyiconnet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pinganyinxing"></i>
                    <div class="name">平安银行</div>
                    <div class="fontclass">.icon-pinganyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaotongyinxing-copy"></i>
                    <div class="name">交通银行</div>
                    <div class="fontclass">.icon-jiaotongyinxing-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bank-015-copy"></i>
                    <div class="name">农业银行</div>
                    <div class="fontclass">.icon-bank-015-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-umidd16"></i>
                    <div class="name">微信支付</div>
                    <div class="fontclass">.icon-umidd16</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconcopy-copy"></i>
                    <div class="name">上海银行</div>
                    <div class="fontclass">.icon-iconcopy-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yihaodian1193425easyiconnet"></i>
                    <div class="name">1号店</div>
                    <div class="fontclass">.icon-yihaodian1193425easyiconnet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huaqiyinxing"></i>
                    <div class="name">花旗银行</div>
                    <div class="fontclass">.icon-huaqiyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chengduyinxing"></i>
                    <div class="name">成都银行</div>
                    <div class="fontclass">.icon-chengduyinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-1"></i>
                    <div class="name">常熟银行</div>
                    <div class="fontclass">.icon-1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huaxiayinxing"></i>
                    <div class="name">华夏银行</div>
                    <div class="fontclass">.icon-huaxiayinxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon"></i>
                    <div class="name">星展银行</div>
                    <div class="fontclass">.icon-icon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-04672290"></i>
                    <div class="name">阜新银行</div>
                    <div class="fontclass">.icon-04672290</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-04615510"></i>
                    <div class="name">长沙银行</div>
                    <div class="fontclass">.icon-04615510</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-04314730"></i>
                    <div class="name">临商银行</div>
                    <div class="fontclass">.icon-04314730</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-04202220"></i>
                    <div class="name">大连银行</div>
                    <div class="fontclass">.icon-04202220</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guankan"></i>
                    <div class="name">观看</div>
                    <div class="fontclass">.icon-guankan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenqishangcheng"></i>
                    <div class="name">分期商城</div>
                    <div class="fontclass">.icon-fenqishangcheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pengyouquan"></i>
                    <div class="name">朋友圈</div>
                    <div class="fontclass">.icon-pengyouquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kongjian"></i>
                    <div class="name">空间</div>
                    <div class="fontclass">.icon-kongjian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin1"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weibo"></i>
                    <div class="name">微博</div>
                    <div class="fontclass">.icon-weibo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-QQ"></i>
                    <div class="name">QQ</div>
                    <div class="fontclass">.icon-QQ</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
